package com.nut.spp.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.nut.spp.entity.AdapayPayRecord;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;


@Mapper
public interface AdapayPayRecordMapper extends BaseMapper<AdapayPayRecord> {

    @Select("select * from biz_adapay_pay_record where order_id=#{orderId} limit 1")
    AdapayPayRecord selectByOrderId(@Param("orderId") String orderId);

}